import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';

import { QuestionComponent } from '../../index';
import { QuestionModel } from '../../../model/question.model';


@Component({
  moduleId: module.id,
  selector: 'app-question-text',
  templateUrl: './question-text.component.html',
  styleUrls: ['./question-text.component.scss']
})
export class QuestionTextComponent implements OnInit {
  @Input()
  question: QuestionModel;
  @Input()
  editable: boolean;
  @Output()
  deleteQuestionRequest: EventEmitter<any> = new EventEmitter();

  constructor() { }

  ngOnInit() {
  }

}
